const mysql = require('mysql2');//引用mysql2

//创建数据库连接池
const pool = mysql.createPool({
    host: 'localhost',
    user: 'root',
    password: 'ppqppq123527.',
    database: '47client',
    waitForConnections: true,
    connectionLimit: 10,
    queueLimit: 0
})

module.exports = {
    pool
}